// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch.IndexManagement;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.IndexManagement.Json.ShardStatsConverter))]
public sealed partial class ShardStats
{
#if NET7_0_OR_GREATER
	public ShardStats()
	{
	}
#endif
#if !NET7_0_OR_GREATER
	public ShardStats()
	{
	}
#endif
	[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
	internal ShardStats(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
	{
		_ = sentinel;
	}

	public Elastic.Clients.Elasticsearch.BulkStats? Bulk { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardCommit? Commit { get; set; }
	public Elastic.Clients.Elasticsearch.CompletionStats? Completion { get; set; }
	public Elastic.Clients.Elasticsearch.DocStats? Docs { get; set; }
	public Elastic.Clients.Elasticsearch.FielddataStats? Fielddata { get; set; }
	public Elastic.Clients.Elasticsearch.FlushStats? Flush { get; set; }
	public Elastic.Clients.Elasticsearch.GetStats? Get { get; set; }
	public Elastic.Clients.Elasticsearch.IndexingStats? Indexing { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStats? Indices { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.MappingStats? Mappings { get; set; }
	public Elastic.Clients.Elasticsearch.MergesStats? Merges { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardQueryCache? QueryCache { get; set; }
	public Elastic.Clients.Elasticsearch.RecoveryStats? Recovery { get; set; }
	public Elastic.Clients.Elasticsearch.RefreshStats? Refresh { get; set; }
	public Elastic.Clients.Elasticsearch.RequestCacheStats? RequestCache { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardRetentionLeases? RetentionLeases { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardRouting? Routing { get; set; }
	public Elastic.Clients.Elasticsearch.SearchStats? Search { get; set; }
	public Elastic.Clients.Elasticsearch.SegmentsStats? Segments { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardSequenceNumber? SeqNo { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardPath? ShardPath { get; set; }
	public System.Collections.Generic.IReadOnlyDictionary<string, object>? Shards { get; set; }
	public Elastic.Clients.Elasticsearch.IndexManagement.ShardsTotalStats? ShardStats2 { get; set; }
	public Elastic.Clients.Elasticsearch.StoreStats? Store { get; set; }
	public Elastic.Clients.Elasticsearch.TranslogStats? Translog { get; set; }
	public Elastic.Clients.Elasticsearch.WarmerStats? Warmer { get; set; }
}